/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.googlecode.jsimplemarket.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 *
 * @author Alexandru.Codescu
 */
@Entity
@Table(name = "fisiere_atastate_spatii_comerciale")
public class FisierAtasatSpatiuComercial extends AbstractEntitate {

    private FisierAtasat fisierAtasat;

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "ID_FISIER")
    public FisierAtasat getFisierAtasat() {
        return fisierAtasat;
    }

    public void setFisierAtasat(FisierAtasat fisierAtasat) {
        this.fisierAtasat = fisierAtasat;
    }
}
